<template>
  <div>
    {{$moment(time).fromNow()}}
  </div>
</template>
<script>
export default {
  props:{
    time:String,
  },
  data () {
    return {}
  },
  methods: {},
  mounted: function() {},
}
</script>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="less" scoped>
@import url('../assets/config.less');

</style>